use thiserror::Error;

#[derive(Error, Debug)]
pub enum TransferError {
    #[error("account[{account}] balance[{balance}] < transaction[{hash}] number[{number}]")]
    NotSufficientFunds {
        account: String,
        balance: String,
        hash: String,
        number: String,
    },
}
